# UCGT - Undercover Geometry Tool
[This repo](https://github.com/NI240SX/UCGT) aims at filling gaps in NFS Undercover modding enlightened during the development of the Undercover Exposed mod.
As long as you explicitly credit me, you can freely reuse portions of this code or take inspiration from it.

If you wish to support my stuff, you can [buy me a coffee](https://ko-fi.com/ni240sx).

**YOU NEED JAVA 15 OR HIGHER TO RUN ANY OF THE FOLLOWING**

It currently contains the following projects :
- GeomDump, a helper for creating other tools (working)
- CtkFixer, a shader and texture swapper eg for materials transparency (deprecated)
- DBMPPlus/fire, an advanced DBModelParts editor (working)
- a collisions and damage files editor (in progress)
- UCGT Geometry Editor, a geometry file decompiler and compiler (in progress, CLI only for now, [see associated Readme](README%20-%20Geometry%20Editor.md))

This repo uses code from the following GitHub repos, converted to Java by myself.
- NFSTools (?) : BIN and VLT hashers
- Speedreflect/Nikki : serialized DBModelParts and Collisions interoperability
- Gibbed.RefPack : RefPack archive compression and decompression algorithms (with help of RefPack-Tool)
- OpenNFSTools : EA JDLZ archive compression and decompression algorithms (with help of quickbms's source for decompression)
